binomial
{base}
Family argument in glm()
log
{base}
log (default base = e)
expression
{base}
Used in plots to add symbols to axes
sim_slopes
{interactions}
Perform simple slopes analysis for interaction effects.
scale_color_manual
{ggplot2}
Manually sets the colours used in a ggplot color scale to user-specified values
attr
{base}
Access or modify the attributes of an object
c
{base}
Combine values/vectors into a vector
save_tt
{tinytable}
Save a tinytable object to a file
mean
{base}
Get mean of a vector
order
{base}
Get indexes that will sort a vector
rm
{base}
Remove objects
length
{base}
Returns number of elements in an object
lag
{dplyr}
Shift values in a vector or time series
quantile
{stats}
Obtain empirical quantiles of a vector
range
{base}
Return range of values
coeftest
{lmtest}
Inference for Estimated Coefficients
nobs
{stats}
Return the number of observations in a model object
median
{stats}
Get median of a vector
ifelse
{base}
Return a or b depending on the value of test
mutate
{dplyr}
Create new variables
plot
{graphics}
Generic function from base R to produce a plot
read.csv
{utils}
Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters
as.numeric
{base}
Coerce a vector to numeric
list
{base}
Create a list object
theme_latex
{tinytable}
A theme for modelsummary/tinytable tables
setwd
{base}
Set Working Directory
roc
{pRoc}
Create a Receiver Operating Characteristic (ROC) curve
matrix
{base}
Creates a matrix from the given set of values.
install.packages
{utils}
Install R packages
factor
{base}
Create a factor
read_excel
{readxl}
Read an Excel file
summary
{base}
Obtain summary statistics or detailed regression output
filter
{dplyr}
Filter out rows of a data frame according to logical vector
diag
{base}
Extract or construct diagonal elements or matrices
group_tt
{tinytable}
Grouping in tinytable
coef
{stats}
Extract model coefficients
group_by
{dplyr}
Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise
cat
{base}
Concatenate and print objects to the console without quotes or indices
var
{stats}
Calculate variance
arrange
{dplyr}
Sort values of data frame according to a variable/combination of variables
tibble
{tibble}
A modern data frame from the tidyverse
ls
{base}
Return a vector of character strings giving the names of the objects in the specified environment
predict
{stats}
Generate predicted values from model objects
t.test
{stats}
Performs one and two sample t-tests on vectors of data.
names
{base}
Get or set names of an object
min
{base}
Get minimum of a vector
round
{base}
Rounds numbers
t
{base}
Transpose a matrix or data frame
View
{base}
View a data frame
library
{base}
Load an R package
lm
{stats}
Fit linear models using least squares
modelsummary
{modelsummary}
Creates regression and data tables
sd
{stats}
Get standard deviation of a vector
complete.cases
{stats}
Find Complete Cases
is.na
{base}
Check if a value is NA/elements of vector are NA
str
{utils}
Get the structure of an R object
factor
{base}
Create factor variables
dnorm
{stats}
Density distribution for the normal distribution
seq
{base}
Create a sequence
glm
{base}
Fits generalized linear models
auc
{pRoc}
Returns the area under the curve
sqrt
{base}
Square-root function
head
{utils}
Show first 5 rows of a data frame
nrow
{base}
Get number of rows of a data frame
ordered
{dplyr}
Create an ordered factor
ungroup
{dplyr}
Resolve grouping created with “group_by”
max
{base}
Get maximum of a vector
cut
{base}
Convert Numeric to Factor
data.frame
{base}
Create a data.frame from vectors
as.data.frame
{base}
Functions to check if an object is a data frame, or coerce it if possible.
unlist
{base}
Flattens a list into a vector by extracting all its elements
colMeans
{base}
Computes the means of each column of a numeric matrix or data frame
The end!